// CP Login
$(document).on("click", "#login", function () {
	var username = $("#username").val();
	var password = $("#password").val();
	$.ajax({
        url: "server-side/authorization.php",
        type: "POST",
        data: "act=login&username="+username+"&password="+password,
        success: function (data) {
        	if(data != 'false'){
        		window.location.href = "client-side/admin.php";
        	}else{
        		alert('User or Password Wrong!!!');
        	}
        }
    });
});